package com.scalar.forecast.forecastEntry;

/**
 * User: Sujan Kumar
 * Date: Feb 14, 2005
 * Time: 12:01:05 PM
 */
public class TableColumn
{
    private String name;
    private String displayName;
    private String type;
    private boolean display = false;
    private int sortOrder = 0;

    public TableColumn()
    {
        name = "";
        displayName = "";
        type = "";
        display = false;
        sortOrder = 0;
    }

    public boolean isDisplay()
    {
        return display;
    }

    public void setDisplay(boolean display)
    {
        this.display = display;
    }

    public String getDisplayName()
    {
        return displayName;
    }

    public void setDisplayName(String displayName)
    {
        this.displayName = ( displayName == null ? null : displayName.trim() );
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = ( name == null ? null : name.trim() );
    }

    public int getSortOrder()
    {
        return sortOrder;
    }

    public void setSortOrder(int sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = ( type == null ? null : type.trim() );
    }
}
